﻿namespace IOPvsOOP.State.IF
{
    public class FooSingletonLazyFactoryIF
    {
        private Foo foo;

        public Foo Get()
        {
            if (foo==null)
                foo = new Foo();
            return foo;
        }
    }
}